﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>改变窗口大小</title>
    <script>
        function resizeWindow() {
            top.resizeBy(100, 100);
        }
    </script>
</head>
<body>
    <input type="button" onclick="resizeWindow()" value="调整窗口" />
</body>
</html>